Hi Ray,
Not sure what you mean.
I guess the "/" character at the beginning of a line comments out a line??
But here is one thought. You could use a subroutine call to skip a section of GCode. In the case below you can skip or not skip a section depending on the value of L (which also may be a variable).
Regards
TK
N18 X163.7246 Y7.3711 F500 N19 X165.8356 Y7.8853 N20 X167.9078 Y8.4735 N21 X168.9585 Y8.8051 M98 P100 L1 N22 X169.9893 Y9.1531 N23 X171.014 Y9.5226 N24 X172.032 Y9.9137 N25 X173.0428 Y10.3269 N26 X174.0572 Y10.7675 O100 N27 X175.7213 Y11.5507 N28 X177.3694 Y12.4081 N29 X178.9505 Y13.317 N30 X180.493 Y14.2957
Group: DynoMotion |
Message: 5131 |
From: bradodarb |
Date: 6/1/2012 |
Subject: Re: Block Skip/Delete? |
Hello Ray,
Blocks begining with "/" should signal a block delete in the NIST interpreter. Check your setupparams to flag blockdelete.
-Brad Murry
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
> Â
> Not sure what you mean.
> Â
> I guess the "/" character at the beginning of a line comments out a line??
> Â
> But here is one thought. You could use a subroutine call to skip a section of GCode. In the case below you can skip or not skip a section depending on the value of L (which also may be a variable).
> Â
> Regards
> TK
> Â
> N18 X163.7246 Y7.3711 F500
> N19 X165.8356 Y7.8853
> N20 X167.9078 Y8.4735
> N21 X168.9585 Y8.8051
> Â Â Â M98 P100 L1
> N22 X169.9893 Y9.1531
> N23 X171.014 Y9.5226
> N24 X172.032 Y9.9137
> N25 X173.0428 Y10.3269
> N26 X174.0572 Y10.7675
> Â Â O100
> N27 X175.7213 Y11.5507
> N28 X177.3694 Y12.4081
> N29 X178.9505 Y13.317
> N30 X180.493 Y14.2957
>
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, June 1, 2012 6:52 PM
> Subject: [DynoMotion] Block Skip/Delete?
>
>
> Â
> Tom,
>
> How does one enable/disable Block Skip/Delete?
>
> Regards,
> Ray L.
>
|
|
Group: DynoMotion |
Message: 5133 |
From: Tom Kerekes |
Date: 6/1/2012 |
Subject: Re: Block Skip/Delete? |
Hi Ray/Brad,
Although there is a block_delete On/Off variable in the interpreter settings it doesn't look like it does anything inside the Interpreter.
Regards
TK
Group: DynoMotion |
Message: 5135 |
From: himykabibble |
Date: 6/2/2012 |
Subject: Re: Block Skip/Delete? |
That's surprising, and disappointing.... It was apparently added to the EMC interpreter in 2007. Is the one we're using older than that?
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray/Brad,
> Â
> Although there is a block_delete On/Off variable in the interpreter settings it doesn't look like it does anything inside the Interpreter.
> Â
> Regards
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, June 1, 2012 10:06 PM
> Subject: [DynoMotion] Re: Block Skip/Delete?
>
>
> Â
> Hello Ray,
>
> Blocks begining with "/" should signal a block delete in the NIST interpreter. Check your setupparams to flag blockdelete.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> > ÃÂ
> > Not sure what you mean.
> > ÃÂ
> > I guess the "/" character at the beginning of a line comments out a line??
> > ÃÂ
> > But here is one thought.ÃÂ You could use a subroutine call to skip a section of GCode.ÃÂ In the case below you can skip or not skip a section depending on the value ofÃÂ L (which also may beÃÂ a variable).
> > ÃÂ
> > Regards
> > TK
> > ÃÂ
> > N18 X163.7246 Y7.3711 F500
> > N19 X165.8356 Y7.8853
> > N20 X167.9078 Y8.4735
> > N21 X168.9585 Y8.8051
> > ÃÂ ÃÂ ÃÂ M98 P100 L1
> > N22 X169.9893 Y9.1531
> > N23 X171.014 Y9.5226
> > N24 X172.032 Y9.9137
> > N25 X173.0428 Y10.3269
> > N26 X174.0572 Y10.7675
> > ÃÂ ÃÂ O100
> > N27 X175.7213 Y11.5507
> > N28 X177.3694 Y12.4081
> > N29 X178.9505 Y13.317
> > N30 X180.493 Y14.2957
> >
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, June 1, 2012 6:52 PM
> > Subject: [DynoMotion] Block Skip/Delete?
> >
> >
> > ÃÂ
> > Tom,
> >
> > How does one enable/disable Block Skip/Delete?
> >
> > Regards,
> > Ray L.
> >
>
|
|
Group: DynoMotion |
Message: 5136 |
From: himykabibble |
Date: 6/2/2012 |
Subject: Re: Block Skip/Delete? |
Tom,
I could be wrong, but it appears to me that Block Delete is ALWAYS enabled (making it kinda useless), but when it hits a line starting with '/', interpretation stops dead in its tracks, and cannot be re-started without re-loading the file or at least manually re-setting the current line to the line AFTER the one with the '/'.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> That's surprising, and disappointing.... It was apparently added to the EMC interpreter in 2007. Is the one we're using older than that?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray/Brad,
> > Â
> > Although there is a block_delete On/Off variable in the interpreter settings it doesn't look like it does anything inside the Interpreter.
> > Â
> > Regards
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, June 1, 2012 10:06 PM
> > Subject: [DynoMotion] Re: Block Skip/Delete?
> >
> >
> > Â
> > Hello Ray,
> >
> > Blocks begining with "/" should signal a block delete in the NIST interpreter. Check your setupparams to flag blockdelete.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > > ÃÂ
> > > Not sure what you mean.
> > > ÃÂ
> > > I guess the "/" character at the beginning of a line comments out a line??
> > > ÃÂ
> > > But here is one thought.ÃÂ You could use a subroutine call to skip a section of GCode.ÃÂ In the case below you can skip or not skip a section depending on the value ofÃÂ L (which also may beÃÂ a variable).
> > > ÃÂ
> > > Regards
> > > TK
> > > ÃÂ
> > > N18 X163.7246 Y7.3711 F500
> > > N19 X165.8356 Y7.8853
> > > N20 X167.9078 Y8.4735
> > > N21 X168.9585 Y8.8051
> > > ÃÂ ÃÂ ÃÂ M98 P100 L1
> > > N22 X169.9893 Y9.1531
> > > N23 X171.014 Y9.5226
> > > N24 X172.032 Y9.9137
> > > N25 X173.0428 Y10.3269
> > > N26 X174.0572 Y10.7675
> > > ÃÂ ÃÂ O100
> > > N27 X175.7213 Y11.5507
> > > N28 X177.3694 Y12.4081
> > > N29 X178.9505 Y13.317
> > > N30 X180.493 Y14.2957
> > >
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, June 1, 2012 6:52 PM
> > > Subject: [DynoMotion] Block Skip/Delete?
> > >
> > >
> > > ÃÂ
> > > Tom,
> > >
> > > How does one enable/disable Block Skip/Delete?
> > >
> > > Regards,
> > > Ray L.
> > >
> >
>
|
|
Group: DynoMotion |
Message: 5137 |
From: brad murry |
Date: 6/2/2012 |
Subject: Re: Block Skip/Delete? |
We should fix that to make it rs274ngc compliant.
-Brad Murry
From:
himykabibble
Sent:
6/2/2012 6:33 AM
To:
DynoMotion@yahoogroups.com
Subject:
[DynoMotion] Re: Block Skip/Delete?
Tom,
I could be wrong, but it appears to me that Block Delete is ALWAYS enabled (making it kinda useless), but when it hits a line starting with '/', interpretation stops dead in its tracks, and cannot be re-started without re-loading the file or at least manually
re-setting the current line to the line AFTER the one with the '/'.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> That's surprising, and disappointing.... It was apparently added to the EMC interpreter in 2007. Is the one we're using older than that?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray/Brad,
> > Â
> > Although there is a block_delete On/Off variable in the interpreter settings it doesn't look like it does anything inside the Interpreter.
> > Â
> > Regards
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, June 1, 2012 10:06 PM
> > Subject: [DynoMotion] Re: Block Skip/Delete?
> >
> >
> > Â
> > Hello Ray,
> >
> > Blocks begining with "/" should signal a block delete in the NIST interpreter. Check your setupparams to flag blockdelete.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > > ÂÂ
> > > Not sure what you mean.
> > > ÂÂ
> > > I guess the "/" character at the beginning of a line comments out a line??
> > > ÂÂ
> > > But here is one thought. You could use a subroutine call to skip a section of GCode. In the case below you can skip or not skip a section depending on the value of L (which also may be a variable).
> > > ÂÂ
> > > Regards
> > > TK
> > > ÂÂ
> > > N18 X163.7246 Y7.3711 F500
> > > N19 X165.8356 Y7.8853
> > > N20 X167.9078 Y8.4735
> > > N21 X168.9585 Y8.8051
> > >    M98 P100 L1
> > > N22 X169.9893 Y9.1531
> > > N23 X171.014 Y9.5226
> > > N24 X172.032 Y9.9137
> > > N25 X173.0428 Y10.3269
> > > N26 X174.0572 Y10.7675
> > >   O100
> > > N27 X175.7213 Y11.5507
> > > N28 X177.3694 Y12.4081
> > > N29 X178.9505 Y13.317
> > > N30 X180.493 Y14.2957
> > >
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, June 1, 2012 6:52 PM
> > > Subject: [DynoMotion] Block Skip/Delete?
> > >
> > >
> > > ÂÂ
> > > Tom,
> > >
> > > How does one enable/disable Block Skip/Delete?
> > >
> > > Regards,
> > > Ray L.
> > >
> >
>
|
|
Group: DynoMotion |
Message: 5138 |
From: Tom Kerekes |
Date: 6/2/2012 |
Subject: Re: Block Skip/Delete? |
Hi Ray,
Are you referring to the EMC Open Source Project or the original NIST EMC Public Domain Project?
I suppose it could be easily added. We would just check if the first character in the line is a slash and if block_delete is on then ignore the line otherwise ignore the slash. Is that your understanding of what there is to it?
Regards TK
Group: DynoMotion |
Message: 5139 |
From: himykabibble |
Date: 6/2/2012 |
Subject: Re: Block Skip/Delete? |
Tom,
I was not aware there were two EMC projects, so I'm not sure which one I looked at.
Your understanding of how it should work is correct. There should be a flag that can be set to enable/disable (I would love it if this could be done through an M code or a parameter so it could be changed on-the-fly in the G-code....). There is code already in there that detects the slash, and sets a different return code which appears *should* make it ignore that line, but instead seems to cause an abort. Search rs274ngc.cpp for "RS274NGC_EXECUTE_FINISH".
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
>
> Are you referring to the EMC Open Source Project or the original NIST EMC Public Domain Project?
>
> I suppose it could be easily added. We would just check if the first character in the line is a slash and if block_delete is on then ignore the line otherwise ignore the slash. Is that your understanding of what there is to it?
>
>
> Regards
> TK
>
>
>
> ________________________________
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Saturday, June 2, 2012 5:45 AM
> Subject: [DynoMotion] Re: Block Skip/Delete?
>
>
> Â
> That's surprising, and disappointing.... It was apparently added to the EMC interpreter in 2007. Is the one we're using older than that?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray/Brad,
> > ÃÂ
> > Although there is a block_delete On/Off variable in the interpreter settings it doesn't look like it does anything inside the Interpreter.
> > ÃÂ
> > Regards
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, June 1, 2012 10:06 PM
> > Subject: [DynoMotion] Re: Block Skip/Delete?
> >
> >
> > ÃÂ
> > Hello Ray,
> >
> > Blocks begining with "/" should signal a block delete in the NIST interpreter. Check your setupparams to flag blockdelete.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > > ÃâÃÂ
> > > Not sure what you mean.
> > > ÃâÃÂ
> > > I guess the "/" character at the beginning of a line comments out a line??
> > > ÃâÃÂ
> > > But here is one thought.ÃâàYou could use a subroutine call to skip a section of GCode.ÃâàIn the case below you can skip or not skip a section depending on the value ofÃâàL (which also may beÃâàa variable).
> > > ÃâÃÂ
> > > Regards
> > > TK
> > > ÃâÃÂ
> > > N18 X163.7246 Y7.3711 F500
> > > N19 X165.8356 Y7.8853
> > > N20 X167.9078 Y8.4735
> > > N21 X168.9585 Y8.8051
> > > ÃâàÃâàÃâàM98 P100 L1
> > > N22 X169.9893 Y9.1531
> > > N23 X171.014 Y9.5226
> > > N24 X172.032 Y9.9137
> > > N25 X173.0428 Y10.3269
> > > N26 X174.0572 Y10.7675
> > > ÃâàÃâàO100
> > > N27 X175.7213 Y11.5507
> > > N28 X177.3694 Y12.4081
> > > N29 X178.9505 Y13.317
> > > N30 X180.493 Y14.2957
> > >
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, June 1, 2012 6:52 PM
> > > Subject: [DynoMotion] Block Skip/Delete?
> > >
> > >
> > > ÃâÃÂ
> > > Tom,
> > >
> > > How does one enable/disable Block Skip/Delete?
> > >
> > > Regards,
> > > Ray L.
> > >
> >
>
|
|
Group: DynoMotion |
Message: 5142 |
From: Tom Kerekes |
Date: 6/4/2012 |
Subject: Re: Block Skip/Delete? |
Hi Ray,
Thanks I wasn't aware of this. I will see if it can be made to work easily.
But
we still need some method to turn it on and off. I suppose with your
application you could do this with an MCode call back or a button in your GUI.
What do you you use it for?
Regards TK
Group: DynoMotion |
Message: 5145 |
From: himykabibble |
Date: 6/4/2012 |
Subject: Re: Block Skip/Delete? |
Tom,
I'm not sure what it's really there for, but I find it handy as I litter my code with prompts, to tell me what to do (put in a new piece of stock, re-zero, Z, etc.). This makes running a program for the first time in a while fairly idiot-proof. But, when I'm making many copies of the same part, as I often do, the prompts are really only necessary the first time or two through. After that, I like to be able to turn most of them off. Block Delete makes it easy to do this.
If you can come up with a way to enable/disable that could be controlled either by the app or by the G-code itself, it would make my day.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
>
> Thanks I wasn't aware of this. I will see if it can be made to work easily.
>
> But we still need some method to turn it on and off. I suppose with your
> application you could do this with an MCode call back or a button in your GUI.
>
> What do you you use it for?
>
> Regards
> TK
>
>
>
> ________________________________
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Saturday, June 2, 2012 5:09 PM
> Subject: [DynoMotion] Re: Block Skip/Delete?
>
>
> Â
> Tom,
>
> I was not aware there were two EMC projects, so I'm not sure which one I looked at.
>
> Your understanding of how it should work is correct. There should be a flag that can be set to enable/disable (I would love it if this could be done through an M code or a parameter so it could be changed on-the-fly in the G-code....). There is code already in there that detects the slash, and sets a different return code which appears *should* make it ignore that line, but instead seems to cause an abort. Search rs274ngc.cpp for "RS274NGC_EXECUTE_FINISH".
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> >
> > Are you referring to the EMC Open Source Project or the original NIST EMC Public Domain Project?
> >
> > I suppose it could be easily added.ÃÂ We would just check if the first character in the line is a slash and if block_delete is on then ignore the line otherwise ignore the slash.ÃÂ Is that your understanding of what there is to it?
> >
> >
> > Regards
> > TK
> >
> >
> >
> > ________________________________
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Saturday, June 2, 2012 5:45 AM
> > Subject: [DynoMotion] Re: Block Skip/Delete?
> >
> >
> > ÃÂ
> > That's surprising, and disappointing.... It was apparently added to the EMC interpreter in 2007. Is the one we're using older than that?
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray/Brad,
> > > ÃâÃÂ
> > > Although there is a block_delete On/Off variable in the interpreter settings it doesn't look like it does anything inside the Interpreter.
> > > ÃâÃÂ
> > > Regards
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, June 1, 2012 10:06 PM
> > > Subject: [DynoMotion] Re: Block Skip/Delete?
> > >
> > >
> > > ÃâÃÂ
> > > Hello Ray,
> > >
> > > Blocks begining with "/" should signal a block delete in the NIST interpreter. Check your setupparams to flag blockdelete.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ray,
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > Not sure what you mean.
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > I guess the "/" character at the beginning of a line comments out a line??
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > But here is one thought.ÃÆ'ââ¬Å¡ÃâàYou could use a subroutine call to skip a section of GCode.ÃÆ'ââ¬Å¡ÃâàIn the case below you can skip or not skip a section depending on the value ofÃÆ'ââ¬Å¡ÃâàL (which also may beÃÆ'ââ¬Å¡Ãâàa variable).
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > Regards
> > > > TK
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > N18 X163.7246 Y7.3711 F500
> > > > N19 X165.8356 Y7.8853
> > > > N20 X167.9078 Y8.4735
> > > > N21 X168.9585 Y8.8051
> > > > ÃÆ'ââ¬Å¡ÃâàÃÆ'ââ¬Å¡ÃâàÃÆ'ââ¬Å¡ÃâàM98 P100 L1
> > > > N22 X169.9893 Y9.1531
> > > > N23 X171.014 Y9.5226
> > > > N24 X172.032 Y9.9137
> > > > N25 X173.0428 Y10.3269
> > > > N26 X174.0572 Y10.7675
> > > > ÃÆ'ââ¬Å¡ÃâàÃÆ'ââ¬Å¡ÃâàO100
> > > > N27 X175.7213 Y11.5507
> > > > N28 X177.3694 Y12.4081
> > > > N29 X178.9505 Y13.317
> > > > N30 X180.493 Y14.2957
> > > >
> > > >
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Friday, June 1, 2012 6:52 PM
> > > > Subject: [DynoMotion] Block Skip/Delete?
> > > >
> > > >
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > Tom,
> > > >
> > > > How does one enable/disable Block Skip/Delete?
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > >
> >
>
|
|
| | | | | | | |